package com.ampaiva.db;

import java.util.List;

import android.net.Uri;

public interface IDao<T> {

    public abstract List<T> getAll(Class<T> entityClass);

    public abstract T get(Uri uri, Class<T> entityClass);

    public abstract T insert(Uri url, Class<T> entityClass);

    public abstract void update(T entity);

    public abstract void delete(T entity);
}